﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="Register.aspx.cs" Inherits="Register" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
        <div style="margin: 0px auto; width: 75%; padding-left :25%;background-color:#f3f9eb;height:500px;padding-top:50px">
        <asp:Table ID="LoginTable" runat="server" >
            <asp:TableRow >
                <asp:TableCell>账号<span style="color:red">*</span></asp:TableCell>                                                     
                <asp:TableCell>
                    <asp:TextBox ID="AccountTex" runat="server"></asp:TextBox></asp:TableCell>
                <asp:TableCell >
                    <asp:Label ID="Label1" Font-Size ="12px" runat="server" Text="(20位以下)" ></asp:Label></asp:TableCell>
                 <asp:TableCell>
                     <asp:Button ID="CheckBut" runat="server" OnClick="CheckBut_Click" Text="账号检测" /></asp:TableCell>
                 <asp:TableCell>
                     <asp:Label ID="AccountLab" runat="server" Text=""></asp:Label></asp:TableCell>
            </asp:TableRow>
            <asp:TableRow>
                <asp:TableCell>昵称<span style="color:red">*</span></asp:TableCell>                                                     
                <asp:TableCell>
                    <asp:TextBox ID="nameTex" runat="server"></asp:TextBox></asp:TableCell>
                 <asp:TableCell >
                    <asp:Label ID="Label2"  Font-Size ="12px" runat="server" Text="(11位以下)" ></asp:Label></asp:TableCell>
            </asp:TableRow>   
              
            <asp:TableRow>
                <asp:TableCell>密码<span style="color:red">*</span></asp:TableCell>                                                     
                <asp:TableCell>
                    <asp:TextBox ID="PswTex" runat="server" TextMode="Password"></asp:TextBox></asp:TableCell>
                <asp:TableCell >
                    <asp:Label ID="Label3" Font-Size ="12px" runat="server" Text="(35位以下)" ></asp:Label></asp:TableCell>
            </asp:TableRow>              
            <asp:TableRow>
                <asp:TableCell>重复密码<span style="color:red">*</span></asp:TableCell>                                                     
                <asp:TableCell>
                    <asp:TextBox ID="RePswTex" runat="server" TextMode="Password"></asp:TextBox></asp:TableCell>
            </asp:TableRow>
            <asp:TableRow>
                <asp:TableCell>性别<span style="color:red">*</span></asp:TableCell>                                                     
                <asp:TableCell>
                    <asp:RadioButton ID="maleRadio" text="男" runat="server" Checked="true" GroupName="sex"/>
                    <asp:RadioButton ID="femaleRadio" text="女" runat="server" GroupName="sex"/>
                    </asp:TableCell>
            </asp:TableRow> 
            <asp:TableRow>
                <asp:TableCell>年龄</asp:TableCell>                                                     
                <asp:TableCell>
                    <asp:TextBox ID="ageTex" runat="server" TextMode="Number"></asp:TextBox></asp:TableCell>
            </asp:TableRow> 

            <asp:TableRow>
                <asp:TableCell>偏好</asp:TableCell>                                                     
                <asp:TableCell>
                    <asp:TextBox ID="referenceTex" runat="server"></asp:TextBox></asp:TableCell>
                <asp:TableCell >
                    <asp:Label ID="Label4" Font-Size ="12px" runat="server" Text="(200字以下)" ></asp:Label></asp:TableCell>
            </asp:TableRow>
            <asp:TableRow>
                <asp:TableCell>常用送餐地址</asp:TableCell>                                                     
                <asp:TableCell>
                    <asp:TextBox ID="adrTex" runat="server" TextMode="MultiLine"></asp:TextBox></asp:TableCell>
                <asp:TableCell >
                    <asp:Label ID="Label5" Font-Size ="12px" runat="server" Text="(100字以下)" ></asp:Label></asp:TableCell>
            </asp:TableRow> 
            <asp:TableRow>
                <asp:TableCell>联系方式</asp:TableCell>                                                     
                <asp:TableCell>
                    <asp:TextBox ID="telTex" runat="server" TextMode="Phone"></asp:TextBox></asp:TableCell>
                <asp:TableCell >
                    <asp:Label ID="Label6" Font-Size ="12px" runat="server" Text="(11位以下)" ></asp:Label></asp:TableCell>
            </asp:TableRow>
            <asp:TableRow>
                <asp:TableCell>
                    <asp:Label ID="MesgLab" runat="server" Text=""></asp:Label>
                </asp:TableCell>
                <asp:TableCell>
                    <asp:Button ID="RegisterBut" runat="server" onclick="RegisterBut_Click" Text="提交" /></asp:TableCell>                                                     
            </asp:TableRow>  
        </asp:Table>
    </div>
</asp:Content>

